import api from '@/service/api';

type Params = {
  id: string;
  state: 1 | 2 |3
};

type Output = {
  success: boolean
}

export default (params: Params) => {
  return api.post('/api/image/classify/changeState', params) as Promise<Output>;
}
